package com.leather.express.feignclient.impl;

import com.leather.common.result.CodeMsg;
import com.leather.common.result.Result;
import com.leather.common.vo.MessageVo;
import com.leather.express.feignclient.MessageClient;
import org.springframework.stereotype.Component;

@Component
public class MessageClientHystrix implements MessageClient {

    @Override
    public Result sendMessage(MessageVo messageVo) {
        return Result.error(CodeMsg.SERVER_OFFLINE);
    }
}
